﻿using System;
using System.Linq.Expressions;
using System.IO;

using LeanEngine.Entity;

namespace LeanEngine.Data.Linq
{
    public interface IDatabaseContext : IDisposable
    {
        object Execute(Expression query);
        object Execute(string query, MetaTable metaTable);
        string GetQueryText(Expression query);
        TextWriter Log { get; set; }
    }
}
